package com.isoft.demo.controller;

import com.isoft.demo.common.ResData;
import com.isoft.demo.service.OutpayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @version 1.0
 * @ClassName:OutpayController
 * @Description: TODO
 * @Author guowei
 * @Date:2021/7/15 11:22
 */
@RestController
@CrossOrigin
public class OutpayController {
    @Autowired
    private OutpayService service;
    @GetMapping("/find")
    public ResData find(){
        ResData rd = service.find();
        return rd;
    }
}
